package com.yc.yjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 竞猜表
 * </p>
 *
 * @author 廖老师
 * @since 2023-08-03
 */
public class Bets implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 竞猜ID
     */
    @TableId(value = "bet_id", type = IdType.AUTO)
    private Long betId;

    /**
     * 赛事ID
     */
    private Long matchId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 下注金额
     */
    private Integer amount;

    /**
     * 下注结果
     */
    private String result;

    private Integer teamId;


    public Long getBetId() {
        return betId;
    }

    public void setBetId(Long betId) {
        this.betId = betId;
    }

    public Long getMatchId() {
        return matchId;
    }

    public void setMatchId(Long matchId) {
        this.matchId = matchId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    @Override
    public String toString() {
        return "Bets{" +
        "betId=" + betId +
        ", matchId=" + matchId +
        ", userId=" + userId +
        ", amount=" + amount +
        ", result=" + result +
        ", teamId=" + teamId +
        "}";
    }
}
